Special MEM_TYPE_SPARE to denote reserved memory.
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 27 Aug 2012 04:15:33 +0000 (08:15 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 27 Aug 2012 04:15:33 +0000 (08:15 +0400)
commit8dc7813c62c9e024f7b3a032476f86b15cb8b3d5
tree8fa65e0151d9e1ccb19502c35d7a4532673f3c24
parent902ca150adb043f397fa8e352bfa90f44737a844
Special MEM_TYPE_SPARE to denote reserved memory.
* alloc.c (enum mem_type): New memory type.
(refill_memory_reserve): Use new type for spare memory.
This prevents live_cons_p and live_string_p from incorrect
detection of uninitialized objects from spare memory as live.
src/ChangeLog
src/alloc.c